package com.wsdcd.zlg.sb.model.service.impl;

import com.wsdcd.zlg.sb.mapper.UserMapper;
import com.wsdcd.zlg.sb.model.entity.User;
import com.wsdcd.zlg.sb.model.service.UserService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class UserServiceImpl implements UserService {
    private final UserMapper userMapper;
    @Override
    public List<User> list() {
        return userMapper.select();
    }
}
